<?php

namespace ChannelThrift\Model\Aums;

// use Base\Model\CommonModel;

class CarModelModel extends CommonModel {

    protected $trueTableName = 'au_car_model';
    protected $connection = 'DB_AUMS';
    // protected $tablePrefix = 'au_';

    /* 自动验证规则 */
    protected $_validate = array(

    );

    /* 模型自动完成 */
    protected $_auto = array(

    );

    //'数据表字段'=>'表单字段'
    protected $_map = array(
    );

    protected $fields = array(
       'model_id',
       'series_id',
       'name',
       'produce_status',
       'sale_status',
       'year',
       'refer_price',
       'air_inlet_form',
       'gearbox',
       'gear',
       'car_cc',
       'consumption',
       'status',
       'detail_params',
       'update_time',
       'from_type',
        '_pk'=>'model_id',
        '_type'=>array(
            'model_id'=>'int',
        ),
    );


    protected $_scope = array(
    );



}

